package BeenChina.PM.Model;

public class ModelNavigationItem {

	private String name,id,action,memo,icoName;
	
	
	public String getIcoName() {
		return icoName;
	}

	public void setIcoName(String icoName) {
		this.icoName = icoName;
	}

	public void setName(String value){ 
		name = value;
	}
	
	public String getName(){ 
		return name;
	}
	
	public void setId(String value){
		id=value;
	}
	
	public String getId(){ 
		return id;
	}
	
	public void setAction(String value){ 
		action = value;
	}
	
	public String getAction(){ 
		return action;
	}	
	
	public void setMemo(String value){ 
		memo = value;
	}
	
	public String getMemo(){ 
		return memo;
	}
	
	@Override
	public boolean equals(Object obj) {
		if (obj == null) return false;
	    if (obj == this) return true;
		if (!(obj instanceof ModelNavigationItem)) return false;
		ModelNavigationItem other  =(ModelNavigationItem)obj;
		if (other.id.equals(id)){
			return true;
		}
		else {
			return false;
		}		  
	}
}
